<select {{ $attributes->merge(['class' => 'layui-input']) }}>
    @if($showAll)
        <option value="0">{{$showAll===true?__('common.all'):$showAll}}</option>
    @endif
    @foreach($lis as $item)
        <option value="{{$item['id']}}" @if($item['id']==$value) selected @endif>{!! $item['name'] !!}</option>
    @endforeach
</select>
